home *** CD-ROM | disk | FTP | other *** search
/ Aminet 51 / Aminet 51 (2002)(GTI - Schatztruhe)[!][Oct 2002].iso / Aminet / dev / c / TinyGL.lha / tinygl / include / gl / gla.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-08-28  |  529 b   |  29 lines

  1. #ifndef _gla_H
  2. #define _gla_H
  3.  
  4. #include <proto/intuition.h>
  5. #include <proto/graphics.h>
  6. #include <clib/intuition_protos.h>
  7. #include <cybergraphx/cybergraphics.h>
  8. #include <proto/cybergraphics.h>
  9.  
  10. #include <GL/gl.h>
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15.  
  16. typedef void* GLAContext;
  17. typedef struct Window* GLADrawable;
  18.  
  19. GLAContext glACreateContext();
  20. void glADestroyContext(GLAContext ctx);
  21. void glASwapBuffers(GLADrawable drawable);
  22. int glAMakeCurrent(GLADrawable drawable, GLAContext ctx1);
  23.  
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27.  
  28. #endif
  29.